<%@page import="cn.edu.hust.sse.software7.class3.entities.EBCategory"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
<div style="background: activeborder;">
<%
	if (null != session.getAttribute("AddCategoryResult")) {
%>
<div><b><%=session.getAttribute("AddCategoryResult")%></b></div>
<%
	}
%>
<form action="/category?method=addcategory" method="post">
<table style="background-color: silver; width: 100%;">
	<tr>
		<td>商品目录</td>
		<td><input type="text" name="categoryName" /></td>
	</tr>
	<tr>
		<td>描述</td>
		<td><textarea rows="3" cols="50" name="categoryDesc"></textarea></td>
	</tr>
	<tr>
		<td><input type="reset" value="重置" /></td>
		<td><input type="submit" value="添加" /></td>
	</tr>
</table>
</form>
</div>
</body>
</html>